package io.renren.modules.app.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-05-25 08:44:56
 */
@Data
@TableName("im_moment_comment")
public class ImMomentCommentEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private Integer id;
	/**
	 * 评论用户id
	 */
	private Integer userId;
	/**
	 * 朋友圈消息id
	 */
	private Integer momentId;
	/**
	 * 评论内容
	 */
	private String content;
	/**
	 * 回复用户id 0顶级评论
	 */
	private Integer replyId;
	/**
	 *
	 */
	private Date createdAt;
	/**
	 *
	 */
	private Date updatedAt;
	@TableField(exist = false)
	private Integer uid;
	@TableField(exist = false)
	private String uname;
	@TableField(exist = false)
	private Integer rid;
	@TableField(exist = false)
	private String rname;

}
